package com.yami.shop.bean.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jjh
 * @since 2023-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tz_phone")
public class Phone implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 初始化余额
     */
    private BigDecimal balance;

    /**
     * 商城ID
     */
    private Integer mallid;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 1余额已经加给用户
     */
    private Integer balanceUsed;


}
